package com.bjpowernode.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bjpowernode.entity.PmsBrand;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bjpowernode.entity.UmsAdmin;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 品牌表 服务类
 * </p>
 *
 * @author zs
 * @since 2024-05-22
 */
public interface PmsBrandService extends IService<PmsBrand> {
    IPage<PmsBrand> getpmsBrandList(Integer pageNo, Integer pageSize, String name);
    Boolean save(String name, String description, MultipartFile file);
    Boolean update(String id,String name, String description, MultipartFile file);
    //删除管理员（修改启用停用状态）
    Boolean delete(String id,Boolean active);
    //定义查询启用的品牌列表用于sku模块商品列表的展示
    List<PmsBrand> getActive();

    String getNameById(String brandId);
}
